package com.tbit.uqbike.constant.enums;


/**
 * 区域数据按小时预统计枚举
 *
 * @Author:BUGTian
 * @DATE: 2022/11/7
 */
public enum AccountSumStatEnum {
    CYCLING_INCOME(1, "骑行收入", "cycling_income"),
    CYCLING_EXPENSES(2, "骑行支出", "cycling_expenses"),
    USER_FINE_INCOME(3, "用户罚款收入", "user_fine_income"),
    USER_PENALTY_EXPENDITURE(4, "用户罚款支出", "user_penalty_expenditure"),
    INCOME_FROM_CYCLING_CARD(5, "骑行卡收入", "income_from_cycling_card"),
    BIKE_CARD_EXPENDITURE(6, "骑行卡支出", "bike_card_expenditure"),
    MEMBERSHIP_CARD_INCOME(7, "会员卡收入", "membership_card_income"),
    MEMBERSHIP_CARD_EXPENDITURE(8, "会员卡支出", "membership_card_expenditure"),
    CARD_FREE_INCOME(9, "免押卡收入", "card_free_income"),
    CHARGE_FREE_CARD_EXPENDITURE(10, "免押卡支出", "charge_free_card_expenditure"),
    COUPON_PACKAGE_INCOME(11, "优惠券套餐收入", "coupon_package_income"),
    COUPON_PACKAGE_EXPENDITURE(12, "优惠券套餐支出", "coupon_package_expenditure"),
    USER_RECHARGE_INCOME(13, "用户充值收入", "user_recharge_income"),
    USER_RECHARGE_EXPENDITURE(14, "用户充值支出", "user_recharge_expenditure"),
    MANUAL_RECHARGE(15, "手工充值", "manual_recharge"),
    MANUAL_DEDUCTION(16, "手工扣款", "manual_deduction"),
    INCOME_FROM_CYCLING_REFUND(17, "骑行退款收入", "income_from_cycling_refund"),
    CYCLING_CONSUMPTION_EXPENDITURE(18, "骑行消费支出", "cycling_consumption_expenditure"),
    OPENING_AND_CLOSING_BALANCE(19, "期初期末余额", "opening_and_closing_balance"),
    DEPOSIT_AT_THE_BEGINNING_AND_END_OF_THE_PERIOD(20, "期初期末押金", "deposit_at_the_beginning_and_end_of_the_period"),
    GIFT_CARD_AT_THE_BEGINNING_AND_END_OF_THE_PERIOD(21, "期初期末礼品卡", "gift_card_at_the_beginning_and_end_of_the_period"),
    DEBT_AT_THE_BEGINNING_AND_END_OF_THE_PERIOD(22, "期初期末欠款", "debt_at_the_beginning_and_end_of_the_period"),
    AMOUNT_OWED(23, "欠款金额", "amount_owed"),
    RECHARGE_AMOUNT_OF_ARREARS(24, "欠款补交充值金额", "recharge_amount_of_arrears"),
    SUPPLEMENTARY_VIRTUAL_AMOUNT_OF_ARREARS(25, "欠款补交虚拟金额", "supplementary_virtual_amount_of_arrears"),
    USER_RECHARGE_GIFT_CARD(26, "用户充值赠送礼品卡", "user_recharge_gift_card"),
    MANUAL_RECHARGE_GIFT_CARD(27, "手工充值礼品卡", "manual_recharge_gift_card"),
    GIFT_CARD_REDEMPTION(28, "礼品卡兑换", "gift_card_redemption"),
    USER_REFUNDS_DEDUCT_GIFT_CARDS(29, "用户退款扣除礼品卡", "user_refunds_deduct_gift_cards"),
    MANUALLY_DEDUCT_GIFT_CARDS(30, "手工扣除礼品卡", "manually_deduct_gift_cards"),
    RIDING_DISCOUNT_GIFT_CARD(31, "骑行抵扣礼品卡", "riding_discount_gift_card"),
    GIFT_CARD_DEDUCTION(32, "礼品卡抵扣费用", "gift_card_deduction"),
    REFUND_OF_GIFT_CARD_DEDUCTION_FEE(33, "礼品卡抵扣费用退款", "refund_of_gift_card_deduction_fee"),
    DEDUCTION_OF_ARTIFICIAL_VIRTUAL_AMOUNT(34, "人工虚拟金额抵扣费用", "deduction_of_artificial_virtual_amount"),
    REFUND_OF_ARTIFICIAL_VIRTUAL_AMOUNT_DEDUCTION_FEE(35, "人工虚拟金额抵扣费用退款", "refund_of_artificial_virtual_amount_deduction_fee"),
    MANUALLY_MODIFY_THE_ORDER_DEDUCTION_EXPENSE(36, "人工修改订单抵扣费用", "manually_modify_the_order_deduction_expense"),
    MANUALLY_MODIFY_THE_ORDER_DEDUCTION_FEE_REFUND(37, "人工修改订单抵扣费用退款", "manually_modify_the_order_deduction_fee_refund"),
    OTHER_VIRTUAL_DEDUCTION_EXPENSES(38, "其他虚拟抵扣费用", "other_virtual_deduction_expenses"),
    REFUND_OF_OTHER_VIRTUAL_DEDUCTION_FEES(39, "其他虚拟抵扣费用退款", "refund_of_other_virtual_deduction_fees"),
    TOTAL_NUMBER_OF_VEHICLES(40, "车辆总数", "total_number_of_vehicles"),
    NUMBER_OF_VEHICLES_LAUNCHED(41, "已投放车辆数", "number_of_vehicles_launched"),
    AVERAGE_VEHICLE_INCOME(42, "车均收入", "average_vehicle_income"),
    NUMBER_OF_NEW_USERS(43, "新增用户数", "number_of_new_users"),
    NUMBER_OF_ORDERS_PER_VEHICLE(44, "车均订单数", "number_of_orders_per_vehicle"),
    REVENUE_FROM_MERCHANT_PLATFORM(45, "商户平台收入", "revenue_from_merchant_platform"),
    MERCHANT_PLATFORM_EXPENDITURE(46, "商户平台支出", "merchant_platform_expenditure"),
    WECHAT_MERCHANT_INCOME(47, "微信商户收入", "wechat_merchant_income"),
    WECHAT_MERCHANT_SPENDING(48, "微信商户支出", "wechat_merchant_spending"),
    ALIPAY_MERCHANT_INCOME(49, "支付宝商户收入", "alipay_merchant_income"),
    ALIPAY_MERCHANT_EXPENSES(50, "支付宝商户支出", "alipay_merchant_expenses"),
    REMITTANCE_OF_MERCHANT_INCOME(51, "汇付商户收入", "remittance_of_merchant_income"),
    REMITTING_PAYMENTS_TO_MERCHANTS(52, "汇付商户支出", "remitting_payments_to_merchants"),
    PURCHASE_INCOME(53, "购卡收入", "purchase_income"),
    PURCHASE_COSTS(54, "购卡支出", "purchase_costs"),
    USER_DEPOSIT_INCOME(55, "用户押金收入", "user_deposit_income"),
    USER_DEPOSIT_EXPENDITURE(56, "用户押金支出", "user_deposit_expenditure"),
    OPERATING_INCOME(57, "运营收入", "operating_income"),
    OPERATING_EXPENSES(58, "运营支出", "operating_expenses"),
    NUMBER_OF_OPERATIONAL_VEHICLES(59, "可运营车辆数", "number_of_operational_vehicles"),
    RATE_OF_VEHICLE_DELIVERY(60, "车辆投放率", "rate_of_vehicle_delivery"),
    VEHICLE_LOADING_RATE(61, "车辆上架率", "vehicle_loading_rate"),
    VEHICLE_RENTAL_RATE(62, "车辆出租率", "vehicle_rental_rate"),
    CYCLING_PROFIT_RATE(63, "骑行盈利率", "cycling_profit_rate"),
    REPAIR_COMPLETION_RATE(64, "维修完成率", "repair_completion_rate"),
    EFFICIENCY_OF_DISPATCH(65, "调度有效率", "efficiency_of_dispatch"),
    MOVING_COMPLETION_RATE(66, "挪车完成率", "moving_completion_rate"),
    NUMBER_OF_POWER_CHANGES(67, "换电次数", "number_of_power_changes"),
    NUMBER_OF_MOVES(68, "挪车次数", "number_of_moves"),
    NUMBER_OF_DISPATCHES(69, "调度次数", "number_of_dispatches"),
    CUMULATIVE_NUMBER_OF_USERS(70, "累计用户数", "cumulative_number_of_users"),
    CYCLING_CARD_DEDUCTION_FEE(71, "骑行卡抵扣费用", "cycling_card_deduction_fee"),
    MEMBERSHIP_CARD_DEDUCTION_FEE(72, "会员卡抵扣费用", "membership_card_deduction_fee"),
    COUPON_DEDUCTION_FEE(73, "优惠券抵扣费用", "coupon_deduction_fee"),
    THE_TOTAL_NUMBER_OF_USERS(74, "总用户数", "the_total_number_of_users"),
    THE_NUMBER_OF_REAL_NAME_AUTHENTICATION_USERS(75, "实名认证用户数", "the_number_of_real_name_authentication_users"),
    NUMBER_OF_STUDENT_CERTIFIED_USERS(76, "学生认证用户数", "number_of_student_certified_users"),
    NUMBER_OF_SPECIAL_AUTHENTICATION_USERS(77, "特殊认证用户数", "number_of_special_authentication_users"),
    NUMBER_OF_ENCRYPTED_USERS(78, "免密用户数", "number_of_encrypted_users"),
    NUMBER_OF_NO_CHARGE_USERS(79, "免押用户数", "number_of_no_charge_users"),
    NUMBER_OF_DEPOSIT_USERS(80, "押金用户数", "number_of_deposit_users"),
    NUMBER_OF_BLACKLIST_USERS(81, "黑名单用户数", "number_of_blacklist_users"),
    NUMBER_OF_MEMBERS(82, "会员用户数", "number_of_members"),
    //83-92运维端用（待补全）
    TOTAL_FLOW_WATER(93, "累计流水", "total_flow_water"),
    TOTAL_TRANSACTIONS_ON_THE_SAME_DAY_OF_THE_PREVIOUS_YEAR(94, "上一年度同一天交易总额", "total_transactions_on_the_same_day_of_the_previous_year"),
    TOTAL_TRANSACTIONS_OF_THE_PREVIOUS_DAY(95, "前日交易总额", "total_transactions_of_the_previous_day"),
    TOTAL_TRANSACTION_VALUE_YESTERDAY(96, "昨日交易总额", "total_transaction_value_yesterday"),
    TOTAL_TRANSACTION_VALUE_TODAY(97, "今日交易总额", "total_transaction_value_today"),
    TOTAL_TRANSACTION_VALUE_FOR_THE_SAME_MONTH_LAST_YEAR(98, "去年同月的交易总额", "total_transaction_value_for_the_same_month_last_year"),
    TOTAL_TRANSACTION_VOLUME_LAST_MONTH(99, "上上月交易总额", "total_transaction_volume_last_month"),
    TOTAL_TRANSACTION_VALUE_LAST_MONTH(100, "上月交易总额", "total_transaction_value_last_month"),
    TOTAL_TRANSACTION_VALUE_FOR_THE_MONTH(101, "本月交易总额", "total_transaction_value_for_the_month"),
    ACCUMULATED_MILEAGE(102, "累计行驶里程(单位：米)", "accumulated_mileage"),
    REDUCE_EMISSIONS(103, "节能减排(单位：g)", "reduce_emissions"),
    ON_THE_RIDE_MACHINE_COUNT(104, "骑行中车辆数", "on_the_ride_machine_count"),
    MACHINE_FOR_HIRE_COUNT(105, "待租车辆数", "machine_for_hire_count"),
    NUMBER_OF_ABNORMAL_VEHICLES(106, "异常车辆数", "number_of_abnormal_vehicles"),
    NUMBER_OF_BROKEN_DOWN_VEHICLES(107, "故障车辆数", "number_of_broken_down_vehicles"),
    NUMBER_OF_VEHICLES_OCCUPIED_BY_OPERATION_AND_MAINTENANCE(108, "运维占用车辆数", "number_of_vehicles_occupied_by_operation_and_maintenance"),
    THE_NUMBER_OF_TROLLEY_CARS_IS_SHORT(109, "缺电车辆数", "the_number_of_trolley_cars_is_short"),
    //110-112按日统计
    THE_COST_OF_CYCLING_IS_RUNNING(113, "骑行费用流水", "the_cost_of_cycling_is_running"),
    USERS_ARE_FINED_FOR_RUNNING_WATER(114, "用户罚款流水", "users_are_fined_for_running_water"),
    USERS_ARE_FREE_TO_BUY_CARDS(115, "用户购卡流水", "users_are_free_to_buy_cards"),
    ADVANCE_DEPOSIT_FLOW(116, "预存款流水", "advance_deposit_flow"),
    THE_USER_DEPOSIT_IS_FLOWING(117, "用户押金流水", "the_user_deposit_is_flowing"),
    ;

    /**
     * 用户数据枚举
     */
    private static final AccountSumStatEnum[] USER_DATA_ENUM = {
            THE_TOTAL_NUMBER_OF_USERS,
            THE_NUMBER_OF_REAL_NAME_AUTHENTICATION_USERS,
            NUMBER_OF_STUDENT_CERTIFIED_USERS,
            NUMBER_OF_SPECIAL_AUTHENTICATION_USERS,
            NUMBER_OF_ENCRYPTED_USERS,
            NUMBER_OF_NO_CHARGE_USERS,
            NUMBER_OF_DEPOSIT_USERS,
            NUMBER_OF_BLACKLIST_USERS,
            NUMBER_OF_MEMBERS
    };
    /**
     * 数据类型
     */
    private Integer dataType;
    /**
     * 类型解析
     */
    private String name;
    /**
     * 字段名
     */
    private String fieldName;

    AccountSumStatEnum(Integer dataType, String name, String fieldName) {
        this.dataType = dataType;
        this.name = name;
        this.fieldName = fieldName;
    }

    /**
     * 获取用户数据枚举
     *
     * @return
     */
    public static AccountSumStatEnum[] getUserDataEnum() {
        return USER_DATA_ENUM;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
}
